/*
*  Copyright 2019-2020 Zheng Jie
*
*  Licensed under the Apache License, Version 2.0 (the "License");
*  you may not use this file except in compliance with the License.
*  You may obtain a copy of the License at
*
*  http://www.apache.org/licenses/LICENSE-2.0
*
*  Unless required by applicable law or agreed to in writing, software
*  distributed under the License is distributed on an "AS IS" BASIS,
*  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*  See the License for the specific language governing permissions and
*  limitations under the License.
*/
package me.zhengjie.modules.workflow.service.dto;

import lombok.Data;
import java.sql.Timestamp;
import java.util.List;

import me.zhengjie.annotation.Query;

/**
* @website https://el-admin.vip
* @author wzp
* @date 2021-05-08
**/
@Data
public class ActRuTaskQueryCriteria{

    /** 模糊 */
    @Query(type = Query.Type.INNER_LIKE)
    private String name;

    /** 小于等于 */
    @Query(type = Query.Type.LESS_THAN)
    private Timestamp createTime;

    /** 实际执行任务人，被委托人(可以是用户，也可以是用户组)，这里用于封装用户所签收后的所有任务**/
    @Query(type = Query.Type.IN,propName = "assignee")
    private List<String> assignee;

    /** 任务持有者*，委托人（可以是用户，也可以是用户组),这里用于封装用户所被分配的所有用户*/
    @Query(type = Query.Type.IN,propName = "owner")
    private List<String> owner;
}